package genia.entity;

public class User {
    private Integer userid;
    private String userName;
    private String password;

    public int getUserid() { return userid;}

    public void setId( Integer id ) { this.userid = id;}

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String passWord) {
        this.password = passWord;
    }

    public User() {
    }

    public User(Integer id, String username, String password) {
        this.userid = id;
        this.userName = username;
        this.password = password;
    }

    @Override
    public String toString() {
        return "User{" +
                "userid=" + userid +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}

